package com.lantu.wisdom.common.enums.code;

import com.lantu.framework.common.constants.IResponseCode;

/**
 * @Description:
 * @Author: duhui
 * @Date: 2020/8/18 9:56
 */
public enum QuestionResponseCode implements IResponseCode {
    NO_NUM(5001,"没有可用次数"),
    NO_USER(5002,"无效用户");

    private int code;
    private String message;

    private QuestionResponseCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
